-
Home
-
Burst Statistics – Privacy-Friendly Analytics for WordPress
-
2.2.3
-
Code
-
Classes
- Frontend_Statistics
Total Complexity |
99 |
Dependencies |
1 |
Dependents |
2 |
Total lines |
746 |
Lines of code |
444 |
Logical lines of code |
276 |
Comment lines |
200 |
Methods |
15 |
Properties |
5 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
build_select_metrics() |
B |
41 |
19 |
55 |
get_date_range() |
B |
36 |
16 |
84 |
build_where_clause() |
A |
45 |
13 |
38 |
sanitize_filters() |
A |
47 |
12 |
35 |
generate_statistics_query() |
A |
42 |
8 |
55 |
get_most_viewed_posts() |
A |
46 |
7 |
40 |
get_lookup_table_name_by_id() |
S |
52 |
6 |
23 |
get_lookup_table_id() |
S |
53 |
5 |
20 |
get_post_views() |
S |
55 |
4 |
20 |
__construct() |
S |
46 |
1 |
48 |
validate_group_by() |
S |
78 |
2 |
3 |
validate_order_by() |
S |
78 |
2 |
3 |
exclude_bounces() |
S |
70 |
2 |
6 |
get_metric_labels() |
S |
62 |
1 |
11 |
get_device_name_by_id() |
S |
79 |
1 |
3 |